@z-index: 5000;
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

ul, li {
  list-style: none;
}

p, li, ul {
  margin: 0;
  padding: 0;
}

.wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
}

//导航的背景色
@navbar-backcolor: #233046;
@navbar-width: 70px;

.navbar {    
  position: relative;
  width: @navbar-width;
  height: 100%;
  background-color: @navbar-backcolor;
  float: left;
  text-align: center;

  @logo-img-width: 46px;
  @logo-img-height: 50px;
  .logo {
    position: relative;
    width: 100%;
    height: @logo-img-height;
    float: left;
    margin: 7px ((@navbar-width - @logo-img-width)*0.5);
    text-align: center;

    img {
      float: left;
      width: @logo-img-width;
      height: @logo-img-height;
      cursor: pointer;
    }

    i {
      display: block;
      float: left;
      background: none repeat scroll 0 0 #fff;
      height: @logo-img-height;
      vertical-align: middle;
      width: 2px;
      margin: 2px 6px 0;
      box-sizing: border-box;
    }

    span {
      float: left;
      font: normal normal normal 16px/32px "microsoft yahei";
      color: #fff;
      cursor: pointer;
    }
  }
  .taga {
    display: block;
    width: 100%;
    color: #fff;
    font: normal normal normal 14px/50px 'microsoft yahei';
    text-decoration: none;
  }
  /*
  .menus {
    .taga {
      display: block;
      width: 100%;
      color: #fff;
      font: normal normal normal 14px/50px 'microsoft yahei';
      text-decoration: none;
    }
  }
  */
  .modules {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;

  }

  
  .modules-select {
    position: absolute;
    left: @navbar-width;
    top: 0;
    z-index: @z-index + 1;
    background: #fff;

    .title {
      text-align: left;
    }

    @module-title-height: 40px;
    .module-title {
      width: 100%;
      height: @module-title-height;
      margin: 10px 0 0;
      border-bottom: 1px solid #E9E9E9;
      text-align: left;
      line-height: @module-title-height;
      background-color: #eee;

      .ant-checkbox-wrapper {
        margin-left: 15px;
        font-size: 14px;
      }
    }

    .ant-checkbox-group {
      text-align: left;
      padding-left: 15px;
      font-size: 13px;
      line-height: @module-title-height;
    }
  }

  @headimg-height: 50px;
  @headimg-margin: 10px;
  .userinfo {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: @headimg-height;
    height: @headimg-height;
    margin: @headimg-margin 0 0 @headimg-margin;    

    .headimg {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: #00BCD4;
      color: #fff;
      font: normal normal normal 26px/@headimg-height 'microsoft yahei';
      cursor: pointer;
      &:hover {
        box-shadow: 0 0 5px 0 #fff;
      }
    }

    .ant-dropdown {
      left: 60px !important;
      bottom: 10px !important;
    }
  }
}

.body-container {
  position: relative;
  width: ~'calc(100% - 71px)';
  height: 100%;
  float: left;
}

.nav-vertical {
  position: relative;
  width: 330px;
  height: 100%;
  float: left;
  border-right: 1px solid #ddd;

  @title-height: 50px;
  > .title {
    width: 100%;
    height: @title-height;
    box-shadow: 0 5px 5px #ddd;
    margin-bottom: 5px;
    background: transparent url(imgs/components/menu.png) no-repeat 7px center;

    span {
      color: #555;
      &.main {
        margin-left: 36px;
        font: normal normal normal 15px/@title-height 'microsoft yahei';
      }
      
      &.sub {
        font: normal normal normal 13px/@title-height 'microsoft yahei';
      }
    }
  }

  
  .layers-control {
    width: 100%;
    height: ~'calc(100% - 56px)';
    overflow: auto;
  }
}



.map, #map {
  position: relative;
  width: ~'calc(100% - 331px)';
  height: 100%;
  border: 0;
  float: left;
}

.hide {
  display: none !important;
}

.test-content {
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 200px;
  background-color: antiquewhite;
  font: normal normal bold 32px/50px 'microsoft yahei';
  display: block;
  box-sizing: border-box;
}